import 'security_defend_wall_platform_interface.dart';

class SecurityDefendWall {
  Future<String?> getPlatformVersion() {
    return SecurityDefendWallPlatform.instance.getPlatformVersion();
  }

  ///是否是安全签名-安卓签名证书的SHA1 / IOS开发者TeamId
  Future<bool> isTampered(String signature, String iosTeamId) {
    return SecurityDefendWallPlatform.instance.isTampered(signature, iosTeamId);
  }

  ///是否被Root或越狱
  Future<bool> isRooted() {
    return SecurityDefendWallPlatform.instance.isRooted();
  }

  ///是否真机设备
  Future<bool> isEmulator() {
    return SecurityDefendWallPlatform.instance.isEmulator();
  }

  ///是否调试模式
  Future<bool> isDebugged() {
    return SecurityDefendWallPlatform.instance.isDebugged();
  }
}
